package canhcuadaihoc.tracnghiemonline;

import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RadioButton;
import android.widget.RadioGroup;

public class AnswerKey_SingleChoice extends LinearLayout{

	public RadioGroup radioGroup,radioGroup2;
	public RadioButton rad_A,rad_B,rad_C,rad_D,rad_E,rad_F,rad_G,rad_H;
	
	public AnswerKey_SingleChoice(Context context, AttributeSet attrs) {
		super(context, attrs);
		
		radioGroup=(RadioGroup)findViewById(R.id.rad_single_choice);
		
		rad_A=(RadioButton)findViewById(R.id.rad_A);
		rad_B=(RadioButton)findViewById(R.id.rad_B);
		rad_C=(RadioButton)findViewById(R.id.rad_C);
		rad_D=(RadioButton)findViewById(R.id.rad_D);
		
		rad_E=(RadioButton)findViewById(R.id.rad_E);
		rad_F=(RadioButton)findViewById(R.id.rad_F);
		rad_G=(RadioButton)findViewById(R.id.rad_G);
		rad_H=(RadioButton)findViewById(R.id.rad_H);
		
		LayoutInflater li=(LayoutInflater)this.getContext().getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		View view=li.inflate(R.layout.answerkey_single_choice, this);
		
	}

}
